package com.power.ding.runner;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import com.power.ding.runner.jobs.MessageJob;

//@Component
//@Order(10)
public class AnsycJobsRunner implements ApplicationRunner {

	public void run(ApplicationArguments args) throws Exception {
		new Thread(MessageJob.getInstance(), "DingMessageJob").start();
	}
	
}
